import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css"; // 默认主题
// import './assets/css/theme-green/index.css'; // 浅绿色主题
import "babel-polyfill";
import store from "./store/store";

import axios from "axios";
Vue.prototype.$axios = axios;
Vue.prototype.HOST = "/api";
import gojs from "gojs";
// console.log("gojs", gojs);
Vue.prototype.go = gojs;
// window.go = gojs;

import Vuex from "vuex";
Vue.use(Vuex);

import hljs from "highlight.js";
Vue.use(hljs.vuePlugin);

import VueCryptojs from "vue-cryptojs";

import VueIntro from "vue-introjs";
Vue.use(VueIntro);

import "intro.js/introjs.css";
Vue.use(VueCryptojs);
Vue.config.productionTip = false;
Vue.use(ElementUI, {
  size: "small",
});

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
